package com.czk.springdatar2dbc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories;

/**
 * security的默认行为：
 * 1 所有的接口需要登录才能访问--SecurityFilterChain默认所有请求都需要认证
 *
 */
@SpringBootApplication
@EnableR2dbcRepositories //开启r2dbc的自动仓库
public class SpringDataR2dbcApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringDataR2dbcApplication.class, args);
    }

}
